import {configureStore} from '@reduxjs/toolkit';
import {DispatchProp} from "react-redux";
import counter from './modules/counter.js';
import * as counterModules from './modules/counter.js';
const store = configureStore({
	reducer:{
		//这里的reducer配置项类似vuex中modules
		//Key(模块（数据切片）名称/数据访问的命名空间):value（对应模块的配置）
		counter
	},
	
})
